package cn.edu.ctbu.studentmanage.repository;

import cn.edu.ctbu.studentmanage.domain.Course;
import cn.edu.ctbu.studentmanage.domain.Lecture;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface LectureRepository extends JpaRepository <Lecture,Integer>{

    /**
     * 根据授课编号进行查询
     * @param lno
     * @return
     */
    Lecture findLectureByLno(String lno);


}
